package org.apache.rocketmq.client.java.clientapis.producer;


import org.apache.rocketmq.client.java.clientapis.ClientConfiguration;
import org.apache.rocketmq.client.java.clientapis.ClientException;

public interface ProducerBuilder {

    ProducerBuilder setClientConfiguration(ClientConfiguration clientConfiguration);


    ProducerBuilder setTopics(String... topics);


    ProducerBuilder setMaxAttempts(int maxAttempts);


    ProducerBuilder setTransactionChecker(TransactionChecker checker);


    Producer build() throws ClientException;
}
